package com.jgp.sys.exception;

import com.jgp.common.exception.ErrorCode;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019/1/2
 */
public enum SysErrorCode implements ErrorCode {
    UNKNOWN("10001","未知错误！");
    
    private String code;
    private String msg;
    
    SysErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    
    
    @Override
    public String getCode() {
        return code;
    }
    
    @Override
    public String getMsg() {
        return msg;
    }
}
